package com.dem06;

/**
 * @program: fanxing
 * @description:
 * @author: 诸葛龙辰
 * @create: 2022-10-25 19:39
 **/
public class Test {
    public static void main(String[] args) {
        Integer fun = fun(15);

        String hello = fun("hello");
    }
    //泛型方法
    public static <T> T fun(T t){
        System.out.println("==================="+t);
        return t;
    }

}
